package com.smmisia.shop.mapper;

import com.smmisia.shop.entity.Ticket;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TicketMapper extends BaseMapper<Ticket> {

    Ticket getById(int id);


    Integer decrease(Integer ticketId);

    int increase(Integer ticketId);
}




